package com.situ.team5.kzq.power.service;

import com.situ.team5.kzq.power.dao.JsDAO;
import com.situ.team5.pojo.ConfigMajor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class JsServiceImpl implements JsService {

    @Autowired
    JsDAO dao;
    @Override
    public void right_add2_Insert(ConfigMajor c) {
        dao.right_add2_Insert(c);
    }

    @Override
    public ConfigMajor right_list_Selectone(int id) {
       return  dao.right_listSelectone(id);
    }
//职位删除
    @Override
    public void right_list_delete(int id) {
        dao.right_list_delete(id);
    }

    @Override
    public void right_list_update2(ConfigMajor c) {
        dao.right_list_update2(c);
    }
}
